<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <h3>欢迎来到{{city}}</h3>
        <h3>跟着{{username}}学java</h3>
    </div>

    <script src="plugins/vue2.js"></script>
    <script>
        new Vue({
            el:'#app',
            data:{
                city:'苏州',
                username:'success'
            }
        });
    </script>
</body>
</html>